Options
All
  • Public
  • Public/Protected
  • All
Menu

Retrieving Data

data reception functions

Here, to can be <phone Number>@c.us or <phone Number>-<groupId>@g.us or <phone Number><groupId>@g.us

to use these functions it is necessary to initialize the bot, click and learn more.

Summary

getAllContacts

Returns a list of contacts

const contacts = await client.getAllContacts();

checkNumber

Check if the number exists

const result = await client.checkNumber("<phone Number>@c.us");

Generated using TypeDoc